<?php
ini_set( 'include_path', '../;.' );

require_once( 'include_package.php' );

include_package( 'Datasources' );
include_package( 'DatabaseModel' );
include_package( 'Renderers' );
include_package( 'Renderers.XmlRenderer' );

$oFactory = new DatabaseFactory(  new TestDatasource() );
$oDatabase = $oFactory->ConstructDatabase();

$oXmlDocument = XmlDatabaseRenderer::Render(  new XmlRendererConfiguration(), $oDatabase );

header('Content-Type: text/xml');
echo( $oXmlDocument );

?>
